package com.koo.modules.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.koo.common.utils.PageUtils;
import com.koo.modules.product.entity.ProductCategoryEntity;
import com.koo.modules.product.entity.vo.CategoryVo;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author charlin
 * @email 136137465@qq.com
 * @date 2022-12-19 15:30:46
 */
public interface ProductCategoryService extends IService<ProductCategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils listTree(Map<String, Object> params);

    List<CategoryVo> getTreeData();

    List<ProductCategoryEntity> getTree(Integer level);

    void updateStatus(ProductCategoryEntity baseProductCategory);

    ProductCategoryEntity info(String categoryId);
}

